#include "menugamepanel.h"

const int MenuGamePanel::ID_SAVE_BUTTON=210;
const int MenuGamePanel::ID_QUIT_GAME_BUTTON=211;

MenuGamePanel::MenuGamePanel(wxWindow*parent,int id) : wxPanel(parent,id)
{
    wxBoxSizer *vbox = new wxBoxSizer(wxVERTICAL);
    savebutton = new wxBitmapButton(this,ID_SAVE_BUTTON,wxBitmap(wxT("source\\savegame.png"),wxBITMAP_TYPE_PNG));
    quitgamebutton = new wxBitmapButton(this,ID_QUIT_GAME_BUTTON,wxBitmap(wxT("source\\quitplaygame.png"),wxBITMAP_TYPE_PNG));
    turntext = new wxStaticText(this,wxID_ANY,wxT("Turn : black"));

    vbox->Add(savebutton,1,wxEXPAND|wxALL,5);
    vbox->Add(quitgamebutton,1,wxEXPAND|wxALL,5);
    vbox->Add(turntext,1,wxEXPAND|wxALL,5);

    sw = new wxScrolledWindow(this);
    swtext = new wxStaticText(sw,wxID_ANY,wxT("AAAAAAAAAA"));
    vbox->Add(sw,1,wxEXPAND|wxALL,5);

    this->SetSizer(vbox);

//    savebutton = new wxBitmapButton(leftpanel,ID_BACK_TO_MENU_PANEL,wxBitmap(wxT("source\\exit2.png"),wxBITMAP_TYPE_PNG));
}
